<%@ page pageEncoding="UTF-8"%>
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<link href="${pageContext.request.contextPath}/resources/dijit/themes/soria/soria.css" type="text/css" rel="stylesheet" />
<link href="${pageContext.request.contextPath}/resources/styles/standard.css" media="screen"	type="text/css" rel="stylesheet" />
<link href="${pageContext.request.contextPath}/resources/images/favicon.ico" rel="SHORTCUT ICON" />
<script type="text/javascript">
	var djConfig = {
		parseOnLoad : true,
		isDebug : false,
		locale : 'zh-cn'
	};
</script>
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/dojo/dojo.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/spring/Spring.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/spring/Spring-Dojo.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/js/mcms.js"></script>
<script type="text/javascript" language="JavaScript">
	dojo.require("dojo.parser");
	dojo.require("dijit.form.ValidationTextBox");
	dojo.require('dijit.TitlePane');
</script>
<title>系统登录</title>
</head>
<body class="soria spring">
	<div id="wrapper">
		<div id="header">
			<a title="主页" name="主页" href="/mcms/"><img
				src="${pageContext.request.contextPath}/resources/images/banner-logo.png" /></a>
		</div>
		<div id="main">
			<div>

				<div id="_title_title_id">
					<script type="text/javascript">
						Spring.addDecoration(new Spring.ElementDecoration({
							elementId : '_title_title_id',
							widgetType : 'dijit.TitlePane',
							widgetAttrs : {
								title : 'MCMS 安全登录',
								open : true
							}
						}));
					</script>
					<p>你要访问的是个受安全保护的区域。</p>
					<form method="POST" action="${pageContext.request.contextPath}/resources/j_spring_security_check"
						name="f">
						<div>
							<label for="j_username">用户名</label><input style="width: 150px" name="j_username" type="text" id="j_username" />
							<script type="text/javascript">
								Spring.addDecoration(new Spring.ElementDecoration(
												{
													elementId : "j_username",
													widgetType : "dijit.form.ValidationTextBox",
													widgetAttrs : {
														promptMessage : "输入用户名",
														required : true
													}
												}));
							</script>
						</div>
						<br />
						<div>
							<label for="j_password">密码</label><input style="width: 150px"	name="j_password" type="password" id="j_password" />
							<script type="text/javascript">
								Spring.addDecoration(new Spring.ElementDecoration(
												{
													elementId : "j_password",
													widgetType : "dijit.form.ValidationTextBox",
													widgetAttrs : {
														promptMessage : "输入密码",
														required : true
													}
												}));
							</script>
						</div>
						<br />
						<div class="submit">
							<script type="text/javascript">
								Spring.addDecoration(new Spring.ValidateAllDecoration(
												{
													elementId : 'proceed',
													event : 'onclick'
												}));
							</script>
							<input value="提交" type="submit" id="proceed" />
							<input value="重置" type="reset" id="reset" /><br /> <br /> <br /> 
							还没账号？ <a	href="${pageContext.request.contextPath}/register?form">
										<font face="true" size="3em;">立即注册</font></a>
						</div>
					</form>
				</div>
			</div>

		</div>
	</div>
</body>

</html>